//
//  UIColor+Tools.h
//
//  Created by Dreamji on 2014-12-20.
//  Copyright (c) 2013年 Dreamji. All rights reserved.
//  颜色工具

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface UIColor (Tools)

+ (UIColor *)colorWithRealRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;

- (UIColor *)colorWithRealRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;

+ (UIColor *)randomColor;

+ (UIColor *)randomColorWithAlpha:(CGFloat)alpha;

+ (UIColor *)colorWithHexString:(NSString *)stringToConvert;

+ (UIImage*)createImageWithColor:(UIColor *)color withRect:(CGRect)rect;
+ (UIColor *)hexColor:(int)hexValue alpha:(CGFloat)alpha;

@end
